package com.mindata.blockchain.socket.common.msg;

import com.mindata.blockchain.socket.body.LeaderNode;
import org.tio.core.Node;

public class LeaderUpdateMsg extends BaseMsg {
    private LeaderNode node;

    public LeaderUpdateMsg() {
    }

    public LeaderUpdateMsg(LeaderNode node) {
        this.node = node;
    }

    public LeaderNode getNode() {
        return node;
    }

    public void setNode(LeaderNode node) {
        this.node = node;
    }
}
